<template>
  <div class="footer">
    <div class="footer_content">
      <div class="site">
        <el-link type="info" href="/" :underline="false">©2022 再往后 www.zengweihao.cn</el-link>
      </div>
      <div class="copyright">
        <el-link type="info" target="_blank" href="https://beian.miit.gov.cn" :underline="false">粤ICP备2022028775号
        </el-link>
        <!-- www.helloCode.cn -->
      </div>
    </div>
    <div class="footer_bottom">
      <el-link type="info" target="_blank" :href="$admin">后台管理入口<i class="el-icon-s-home"></i></el-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Footer'
}
</script>

<style scoped lang="scss">
.footer {
  padding: 60px 0;
  width: 100%;
  border-top: 1px solid $light-white;
  margin-top: 60px;
  position: relative;

  .footer_bottom {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: $light-white;
    color: $white !important;
  }

  &_content {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;

    .site {
      font-size: 14px;
      color: $light-gray;

      span {
        margin-right: 24px;
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  .footer_content {
    width: 100%;
    flex-direction: column;
  }

  .copyright {
    margin-top: 10px;
  }
}
</style>
